package cn.edu.guet.tts.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 车票管理表
 * </p>
 *
 * @author test
 * @since 
 */
@Getter
@Setter
@TableName("tb_ticket")
@ApiModel(value = "TbTicket对象", description = "车票管理表")
@Data
public class TbTicket implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键，车票ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("关联车次ID")
      private Integer trainId;

      @ApiModelProperty("车厢编号")
      private Integer carriageNumber;

      @ApiModelProperty("座位编号")
      private String seatNumber;

      @ApiModelProperty("车票状态")
      private String ticketStatus;


}
